package cn.kinoko.model.cnTeam.req;

import cn.kinoko.common.base.validate.ValidGroup;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

/**
 * @author kinoko
 */
@Data
public class CnTeamReq {

    /** 主键id */
    @NotNull(message = "漫画组id不能为空", groups = {ValidGroup.Update.class})
    private Long tid;
    /** 汉化组名称 */
    @NotBlank(message = "请输入汉化组名")
    @Size(max = 50, message = "汉化组名长度不能超过50个字符")
    private String teamName;
    /** 简介 */
    private String about;
    /** logo */
    private String logoUrl;
    /** 邀请码 */
    @Size(max = 50, message = "邀请码长度不能超过50个字符")
    private String joinCode;

}
